
import arcademis.*;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Pedro
 */
public interface ObjetoRemoto extends Remote {
    public String[] requestSongs(String userName, int networkId) throws ArcademisException;
    public boolean isValidAuthentication(String nome, String password) throws ArcademisException;
    public int getCurrentNetworkId() throws ArcademisException;
    public int getNewNetworkId() throws ArcademisException;
    public boolean retiraDaRede(String username, int networkId) throws ArcademisException;
}
